<?php

class Damages_Methods_Data_Dictionary_Discount {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var int 
   */
  public $costMin;

  /**
   *
   * @var int 
   */
  public $costMax;

  /**
   *
   * @var float 
   */
  public $discount;

  /**
   *
   * @var string 
   */
  public $created;

  /**
   *
   * @var string 
   */
  public $modified;

  public function __construct(DamagesDictDiscounts $obj) {
    $this->id = $obj->getId();
    $this->costMin = $obj->getCostMin();
    $this->costMax = $obj->getCostMax();
    $this->discount = $obj->getDiscount();
    $this->created = $obj->getCreated();
    $this->modified = $obj->getModified();
  }

}